package com.achievement.mappings;

import com.achievement.domain.bo.StandardBO;
import com.achievement.domain.dto.StandardDTO;
import com.achievement.domain.entity.StandardEntity;
import com.achievement.domain.vo.StandardVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface StandardMapping {

    StandardVO dto2Vo(StandardDTO dto);

    StandardBO dto2Bo(StandardDTO dto);

    StandardEntity dto2Entity(StandardDTO dto);

    StandardDTO vo2Dto(StandardVO vo);

    StandardVO bo2Vo(StandardBO bo);
    StandardEntity bo2Entity(StandardBO bo);

    StandardDTO entity2Dto(StandardEntity dto);

    StandardVO entity2Vo(StandardEntity dto);

    StandardBO entity2Bo(StandardEntity dto);

    /*@Mappings(
            {
                    @Mapping(source = "id", target = "id")
            }
    )
    StandardDTO bo2Dto(StandardBO bo);
*/


}
